package com.bj58.ecdata.calc.dbservice.dao.model;

import java.io.Serializable;

import com.bj58.ecdata.calc.dbservice.dao.annotation.DailyMultiDimensionAccValueMap;
import com.bj58.ecdata.calc.dbservice.dao.annotation.DailyMultiDimensionZSet;
import com.bj58.ecdata.calc.dbservice.dao.annotation.HourlyMultiDimensionAccValueMap;
import com.bj58.ecdata.calc.dbservice.dao.annotation.MultiDimensionAccValueMap;
import com.bj58.ecdata.calc.dbservice.dao.annotation.PrimaryDimension;
import com.bj58.ecdata.calc.dbservice.dao.annotation.TableName;

@TableName("info")
public class InfoModel implements Serializable{
	private static final long serialVersionUID = 1L;
	@PrimaryDimension
	private Long time;
	
	private String platform;
	
	private String bussline;
	
	private String belong_cate1;
	
	@DailyMultiDimensionZSet(dimensions = { "platform", "bussline" }, cacheValue = "infoNum")
	private String belong_cate2;
	
	@MultiDimensionAccValueMap(dimensions = { "platform", "bussline" })
	@HourlyMultiDimensionAccValueMap(dimensions = { "platform", "bussline" })
	@DailyMultiDimensionAccValueMap(dimensions = { "platform", "bussline" })
	private Long infoNum;

	public Long getTime() {
		return time;
	}

	public void setTime(Long time) {
		this.time = time;
	}

	public String getPlatform() {
		return platform;
	}

	public void setPlatform(String platform) {
		this.platform = platform;
	}

	public String getBussline() {
		return bussline;
	}

	public void setBussline(String bussline) {
		this.bussline = bussline;
	}

	public String getBelong_cate1() {
		return belong_cate1;
	}

	public void setBelong_cate1(String belong_cate1) {
		this.belong_cate1 = belong_cate1;
	}

	public String getBelong_cate2() {
		return belong_cate2;
	}

	public void setBelong_cate2(String belong_cate2) {
		this.belong_cate2 = belong_cate2;
	}

	public Long getInfoNum() {
		return infoNum;
	}

	public void setInfoNum(Long infoNum) {
		this.infoNum = infoNum;
	}
	
}
